package com.guide.dao.impl;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.util.CollectionUtils;

import com.guide.dao.AccountDao;
import com.guide.dao.MessageTextDao;
import com.guide.domain.Account;
import com.guide.domain.AccountQuery;
import com.guide.domain.MessageText;
import com.guide.persistence.AccountMapper;
import com.guide.persistence.MessageTextMapper;
@Repository("messageTextDao")
public class MessageTextDaoImpl implements MessageTextDao {
	private static final Logger logger = LoggerFactory
			.getLogger(MessageTextDaoImpl.class);


	@Autowired
	private MessageTextMapper  messageTextMapper;


	@Override
	public int insertMessageText(MessageText messageText) {
		// TODO Auto-generated method stub
		return messageTextMapper.insert(messageText);
	}


	@Override
	public MessageText getMessageTextById(Long id) {
		// TODO Auto-generated method stub
		return messageTextMapper.selectByPrimaryKey(id);
	}

	
	



}
